package com.example.basic.web.response;

import com.alibaba.fastjson.annotation.JSONField;
import com.example.basic.utils.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 操作日志响应结果
 * </p>
 *
 * @roleor zzl
 * @since 2024-3-14
 */
@Data
public class OperLogResponse {

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = CommonConstant.TIME_FORMAT_EIGHTEEN)
    private Date createAt;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "接口功能描述")
    private String description;

    @ApiModelProperty(value = "错误描述")
    private String errorMsg;

    @ApiModelProperty(value = "返回参数")
    private String jsonResult;

    @ApiModelProperty(value = "方法名称")
    private String method;

    @ApiModelProperty(value = "请求参数")
    private String operatorParam;

    @ApiModelProperty(value = "主机地址")
    private String requestIp;

    @ApiModelProperty(value = "请求URL")
    private String requestUrl;

    @ApiModelProperty(value = "操作状态")
    private String status;

    @ApiModelProperty(value = "模块标题")
    private String title;

    @ApiModelProperty(value = "账号")
    private String loginName;



}